package org.xyl.game.dao;

import org.springframework.data.jpa.repository.JpaRepository;
import org.xyl.game.entity.Mygame;
import org.xyl.game.entity.Point;

import java.util.List;

public interface MyGameDao extends JpaRepository<Mygame, Long> {
    public Mygame getByRoomid(int roomid);

    public List<Mygame> getByUsernameOrderByRoomidAsc(String username);
}
